.el-dialog__wrapper {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  .popup {
    padding: 0;
    width: 710px;
    max-width: 90vw;
    max-height: 590px;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    margin: 0 !important;

    &.s {
      width: 400px;
    }

    &.b {
      max-height: 860px;
      width: 800px;
    }
    &.c {
      max-height: 860px;
      width: 500px;
    }
    &.m{
      // min-height: 860px;
      width: 712px;
    }
    .el-dialog__header {
      padding: 10px 10px;
      background-color: #f8f8f8;
      border-bottom: 1px solid #eee;
      user-select: none;
      display: flex;
      justify-content: space-between;

      .el-dialog__headerbtn {
        position: inherit;
        line-height: 1;
      }

      .el-dialog__title {
        font-size: 14px;
        color: #666;
        line-height: 1;
      }
    }

    .el-dialog__body {
      padding: 10px 15px;
      overflow: auto;
      text-align: justify;

      > * {
        padding: 0;
      }
    }

    .el-dialog__footer {
      border-top: 1px solid #eee;
      padding: 20px 0;
      text-align: center;
      user-select: none;
      display: flex;
      justify-content: center;

      .el-button {
        width: 46px;
        height: 32px;
        line-height: 32px;
        padding: 0;
        margin: 0 5px;

        &:first-of-type {
          order: 1;
        }
      }
    }
    .el-form-item__label {
      text-align-last: right;
    }
  }
}
